package com.tbit.uqbike.client.dao.capital;

import com.tbit.uqbike.client.pojo.newEntity.RideFeeLog;

/**
 * @Author: chen
 * @Description: 订单费用支付详情
 * @Date: 创建于 9:32 2022/4/18
 */
public interface RideFeeLogDao {

    /**
     * 通过订单编号获取订单扣费记录
     * @param orderNo 订单编号
     * @return 订单扣费记录
     */
    RideFeeLog getByOrderNo(String orderNo);

    /**
     * 新增订单扣费记录
     *
     * @param rideFeeLog 订单扣费记录
     */
    void insert(RideFeeLog rideFeeLog);

    /**
     * 修改订单扣费记录
     *
     * @param rideFeeLog 订单扣费记录
     */
    void update(RideFeeLog rideFeeLog);

    /**
     * 修改已退款
     *
     * @param rideFeeLog 订单扣费记录
     */
    void editRefund(RideFeeLog rideFeeLog);
}
